package com.ruoyi.question.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;
import java.util.List;

/**
 * 问题表 sys_df_question
 * 
 * @author ruoyi
 * @date 2019-09-16
 */
public class DfQuestion extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Long id;
	/** 用户名称 */
	private String userName;
	/** 用户id */
	private Long userId;
	/** 用户电话 */
	private String userPhone;
	/** 用户单位 */
	private String userDept;
	/** 用户单位id */
	private Long userDeptId;
	/** (1,待解决,2.已解决,3.已退回) */
	private String questionState;
	/** 问题类型 */
    @Excel(name = "问题类型")
	private String questionType;
	/** 问题版本号 */
    @Excel(name = "版本号")
	private String questionVersion;
	/** 问题 */
    @Excel(name = "标题")
	private String questionTitle;
	/** 内容描述 */
    @Excel(name = "描述")
	private String questionContent;
	/** 解答 */
    @Excel(name = "备注")
	private String questionAnswer;
	/** (0,用户,1,研究院) */
	private String questionStart;
	/** (1.待处理,2.已处理,3.已退回) */
	private String yjyApprove;
	/** 研究院审核人员 */
	private String yjyApproveName;
	/** 研究院审核人员id */
	private Long yjyApproveId;
	/** (1.待处理,2.已处理,3.已退回) */
	private String yfryApprove;
	/** 研发人员名称 */
	private String yfryApproveName;
	/** 研发人员id */
	private Long yfryApproveId;
	/** (1.待处理,2.已处理,3.已退回) */
	private String zjApprove;
	/** 专家名称 */
	private String zjApproveName;
	/** 专家id */
	private Long zjApproveId;
	/**  */
	@JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
	private Date createtime;
	/**  */
	@JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
	private Date updatetime;
	/**  */
	private String isdelete;

	/** 评价 */
	private String comment;
	/** 评价分数 */
	private String commentScore;
	/** 问题编号*/
	private String questionNumber;

	private String questionExpert;

	private List<DfFile> files;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setUserName(String userName) 
	{
		this.userName = userName;
	}

	public String getUserName() 
	{
		return userName;
	}
	public void setUserId(Long userId) 
	{
		this.userId = userId;
	}

	public Long getUserId() 
	{
		return userId;
	}
	public void setUserPhone(String userPhone) 
	{
		this.userPhone = userPhone;
	}

	public String getUserPhone() 
	{
		return userPhone;
	}
	public void setUserDept(String userDept) 
	{
		this.userDept = userDept;
	}

	public String getUserDept() 
	{
		return userDept;
	}
	public void setUserDeptId(Long userDeptId) 
	{
		this.userDeptId = userDeptId;
	}

	public Long getUserDeptId() 
	{
		return userDeptId;
	}
	public void setQuestionState(String questionState) 
	{
		this.questionState = questionState;
	}

	public String getQuestionState() 
	{
		return questionState;
	}
	public void setQuestionType(String questionType) 
	{
		this.questionType = questionType;
	}

	public String getQuestionType() 
	{
		return questionType;
	}
	public void setQuestionVersion(String questionVersion) 
	{
		this.questionVersion = questionVersion;
	}

	public String getQuestionVersion() 
	{
		return questionVersion;
	}
	public void setQuestionTitle(String questionTitle) 
	{
		this.questionTitle = questionTitle;
	}

	public String getQuestionTitle() 
	{
		return questionTitle;
	}
	public void setQuestionContent(String questionContent) 
	{
		this.questionContent = questionContent;
	}

	public String getQuestionContent() 
	{
		return questionContent;
	}
	public void setQuestionAnswer(String questionAnswer) 
	{
		this.questionAnswer = questionAnswer;
	}

	public String getQuestionAnswer() 
	{
		return questionAnswer;
	}
	public void setQuestionStart(String questionStart) 
	{
		this.questionStart = questionStart;
	}

	public String getQuestionStart() 
	{
		return questionStart;
	}
	public void setYjyApprove(String yjyApprove) 
	{
		this.yjyApprove = yjyApprove;
	}

	public String getYjyApprove() 
	{
		return yjyApprove;
	}
	public void setYjyApproveName(String yjyApproveName) 
	{
		this.yjyApproveName = yjyApproveName;
	}

	public String getYjyApproveName() 
	{
		return yjyApproveName;
	}
	public void setYjyApproveId(Long yjyApproveId) 
	{
		this.yjyApproveId = yjyApproveId;
	}

	public Long getYjyApproveId() 
	{
		return yjyApproveId;
	}
	public void setYfryApprove(String yfryApprove) 
	{
		this.yfryApprove = yfryApprove;
	}

	public String getYfryApprove() 
	{
		return yfryApprove;
	}
	public void setYfryApproveName(String yfryApproveName) 
	{
		this.yfryApproveName = yfryApproveName;
	}

	public String getYfryApproveName() 
	{
		return yfryApproveName;
	}
	public void setYfryApproveId(Long yfryApproveId) 
	{
		this.yfryApproveId = yfryApproveId;
	}

	public Long getYfryApproveId() 
	{
		return yfryApproveId;
	}
	public void setZjApprove(String zjApprove) 
	{
		this.zjApprove = zjApprove;
	}

	public String getZjApprove() 
	{
		return zjApprove;
	}
	public void setZjApproveName(String zjApproveName) 
	{
		this.zjApproveName = zjApproveName;
	}

	public String getZjApproveName() 
	{
		return zjApproveName;
	}
	public void setZjApproveId(Long zjApproveId) 
	{
		this.zjApproveId = zjApproveId;
	}

	public Long getZjApproveId() 
	{
		return zjApproveId;
	}
	public void setCreatetime(Date createtime) 
	{
		this.createtime = createtime;
	}

	public Date getCreatetime() 
	{
		return createtime;
	}
	public void setUpdatetime(Date updatetime) 
	{
		this.updatetime = updatetime;
	}

	public Date getUpdatetime() 
	{
		return updatetime;
	}
	public void setIsdelete(String isdelete) 
	{
		this.isdelete = isdelete;
	}

	public String getIsdelete() 
	{
		return isdelete;
	}
	public void setComment(String comment)
	{
		this.comment = comment;
	}

	public String getComment()
	{
		return comment;
	}
	public void setCommentScore(String commentScore)
	{
		this.commentScore = commentScore;
	}

	public String getCommentScore()
	{
		return commentScore;
	}


	public String getQuestionNumber() {
		return questionNumber;
	}

	public void setQuestionNumber(String questionNumber) {
		this.questionNumber = questionNumber;
	}

	public String getQuestionExpert() {
		return questionExpert;
	}

	public void setQuestionExpert(String questionExpert) {
		this.questionExpert = questionExpert;
	}

	public List<DfFile> getFiles() {
		return files;
	}

	public void setFiles(List<DfFile> files) {
		this.files = files;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userName", getUserName())
            .append("userId", getUserId())
            .append("userPhone", getUserPhone())
            .append("userDept", getUserDept())
            .append("userDeptId", getUserDeptId())
            .append("questionState", getQuestionState())
            .append("questionType", getQuestionType())
            .append("questionVersion", getQuestionVersion())
            .append("questionTitle", getQuestionTitle())
            .append("questionContent", getQuestionContent())
            .append("questionAnswer", getQuestionAnswer())
            .append("questionStart", getQuestionStart())
            .append("yjyApprove", getYjyApprove())
            .append("yjyApproveName", getYjyApproveName())
            .append("yjyApproveId", getYjyApproveId())
            .append("yfryApprove", getYfryApprove())
            .append("yfryApproveName", getYfryApproveName())
            .append("yfryApproveId", getYfryApproveId())
            .append("zjApprove", getZjApprove())
            .append("zjApproveName", getZjApproveName())
            .append("zjApproveId", getZjApproveId())
            .append("createtime", getCreatetime())
            .append("updatetime", getUpdatetime())
            .append("isdelete", getIsdelete())
            .append("remark", getRemark())
				.append("comment", getComment())
				.append("commentScore", getCommentScore())
				.append("questionNumber", getQuestionNumber())
            .toString();
    }
}
